package com.lc.admin.mapper;

import com.lc.admin.bean.Dept;
import com.lc.admin.vo.DeptTableVo;
import com.lc.admin.vo.UserVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DeptMapper {

    List<Dept> findAll();

    List<UserVo> findAllUser();

    void save(Dept dept);

    List<Long> findIdsByDeptNo(String deptNo);

    int delById(Long id);

    Dept findById(Long id);
}
